﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ThongTinKyThuatChiTiet.ascx.cs"
    Inherits="Controls_Template_ThongTinKyThuatChiTiet" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<style type="text/css">
    .redTitle
    {
        color: Red;
        font-weight: bold;
    }
    .stylePopup
    {
        background-color: #fff;
        z-index: 10001; /*width: 800px;
            height: 390px;*/
        width: 1000px;
        height: 350px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
    .modalBackground
    {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 10000;
        background-color: black;
        opacity: 0.3;
        filter: alpha(opacity=30);
    }
</style>
<script type="text/javascript" src="../../Scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
    function ConfirmDeleteThongTinKyThuatChiTiet() {
        var check = confirm("Bạn có chắc muốn xóa không ?");
        if (check == true) {
            document.getElementById('<%=hdnCheckConfirm.ClientID %>').value = "yes";
        } else {

        }
    }
</script>
<div id="divContent" style="margin-left: 20px">
    <h2 style="text-align: center; color: Blue">
        Thông Tin Kỹ Thuật Chi Tiết</h2>
    <div style="float: right; margin-right: 30px">
        <asp:Button Text="Xóa" ID="btnDeleteThongTinKyThuatChiTiet" runat="server" class="button"
            Style="display: none" OnClientClick="ConfirmDeleteThongTinKyThuatChiTiet()" OnClick="btnDeleteThongTinKyThuatChiTiet_Click" />
        <asp:Button Text="Sửa" ID="btnEditTTKTCT" runat="server" class="button" OnClick="btnEditTTKTCT_Click"
            Style="display: none; right: 90px" />
        <asp:DropDownList ID="drpPermission" AutoPostBack="true" runat="server" Style="display: none"
            OnSelectedIndexChanged="drpPermission_SelectedIndexChanged">
            <asp:ListItem Value="2" Text="Chọn"></asp:ListItem>
            <asp:ListItem Value="0" Text="Public"></asp:ListItem>
            <asp:ListItem Value="1" Text="Private"></asp:ListItem>
        </asp:DropDownList>
        <br />
        <br />
    </div>
    <br />
    <asp:Label ID="lblNguoiPhanTich" runat="server" Style="color: Orange"></asp:Label><br />
    <br />
    <asp:Label ID="lblNgay" runat="server" Style="color: Orange"></asp:Label><br />
    <br />
    <asp:Label ID="lblTenHamDiet" runat="server" Style="color: Orange"></asp:Label><br />
    <br />
    <asp:Label ID="lblTitleHanhViKyThuat" runat="server" class="redTitle">I. Mô tả chi tiết hành vi và kỹ thuật được sử dụng.</asp:Label><br />
    <asp:Literal ID="ltrHanhViKyThuat" runat="server"></asp:Literal><br />
    <div id="divCKMota" runat="server" style="display: none">
        <CKEditor:CKEditorControl ID="ckMota" runat="server"></CKEditor:CKEditorControl><br />
        <asp:Button ID="btnOKMoTa" runat="server" Text="OK" class="button" OnClick="btnOKMoTa_Click" />
        <asp:Button ID="btnCancelMoTa" runat="server" Text="Cancel" class="button" OnClick="btnCancelMoTa_Click" />
    </div>
    <asp:Button ID="btnEditHanhViKyThuat" class="button" Style="display: none" runat="server"
        Text="Edit" OnClick="btnEditHanhViKyThuat_Click" /><br />
    <asp:Label ID="lblTitleKeyDacBiet" runat="server" class="redTitle" Text="">II. Các key đặc biệt được ghi, kỹ thuật sử dụng.</asp:Label><br />
    <asp:Literal ID="ltrKeyDacBiet" runat="server"></asp:Literal><br />
    <div id="divCKKeyDacBiet" runat="server" style="display: none">
        <CKEditor:CKEditorControl ID="ckKeyDacBiet" runat="server"></CKEditor:CKEditorControl><br />
        <asp:Button ID="btnOKKeyDacBiet" runat="server" Text="OK" class="button" OnClick="btnOKKeyDacBiet_Click" />
        <asp:Button ID="btnCancelKeyDacBiet" runat="server" Text="Cancel" class="button"
            OnClick="btnCancelKeyDacBiet_Click" />
    </div>
    <asp:Button ID="btnEditKeyDacBiet" class="button" Style="display: none" runat="server"
        Text="Edit" OnClick="btnEditKeyDacBiet_Click" /><br />
    <asp:Label ID="lblTitleKetNoiMang" runat="server" class="redTitle" Text="">III. Thông tin kết nối mạng.</asp:Label><br />
    <asp:Literal ID="ltrKetNoiMang" runat="server"></asp:Literal><br />
    <div id="divKetNoiMang" runat="server" style="display: none">
        <CKEditor:CKEditorControl ID="ckKetNoiMang" runat="server"></CKEditor:CKEditorControl><br />
        <asp:Button ID="btnOKKetNoiMang" runat="server" Text="OK" class="button" OnClick="btnOKKetNoiMang_Click" />
        <asp:Button ID="btnCancelKetNoiMang" runat="server" Text="Cancel" class="button"
            OnClick="btnCancelKetNoiMang_Click" />
    </div>
    <asp:Button ID="btnEditKetNoiMang" class="button" Style="display: none" runat="server"
        Text="Edit" OnClick="btnEditKetNoiMang_Click" /><br />
    <asp:Label ID="lblTitleMoTaChiTiet" runat="server" class="redTitle" Text="">IV. Mô tả chi tiêt các kỹ thuật được sử dụng.</asp:Label><br />
    <asp:Literal ID="ltrMoTaChiTiet" runat="server"></asp:Literal><br />
    <div id="divMoTaChiTiet" runat="server" style="display: none">
        <CKEditor:CKEditorControl ID="ckMoTaChiTiet" runat="server"></CKEditor:CKEditorControl><br />
        <asp:Button ID="btnOKMoTaChiTiet" Text="OK" runat="server" class="button" OnClick="btnOKMoTaChiTiet_Click" />
        <asp:Button ID="btnCancelMoTaChiTiet" Text="Cancel" runat="server" class="button"
            OnClick="btnCancelMoTaChiTiet_Click" />
    </div>
    <asp:Button ID="btnEditMoTaChiTiet" class="button" Style="display: none" runat="server"
        Text="Edit" OnClick="btnEditMoTaChiTiet_Click" /><br />
    <asp:Label ID="lblTitleHanhViMalware" runat="server" class="redTitle" Text="">V. Cách hành vi của malware.</asp:Label><br />
    <asp:Literal ID="ltrHanhViMalware" runat="server"></asp:Literal><br />
    <div id="divHanhVi" runat="server" style="display: none">
        <CKEditor:CKEditorControl ID="ckHanhVi" runat="server"></CKEditor:CKEditorControl><br />
        <asp:Button ID="btnOKHanhVi" runat="server" class="button" OnClick="btnOKHanhVi_Click"
            Text="OK" />
        <asp:Button ID="btnCancelHanhVi" runat="server" class="button" OnClick="btnCancelHanhVi_Click"
            Text="Cancel" />
    </div>
    <asp:Button ID="btnEditHanhViMalware" class="button" Style="display: none" runat="server"
        Text="Edit" OnClick="btnHanhViMalware_Click" /><br />
</div>
<div id="divPopupEdit" style="display: none" runat="server">
    <div class="stylePopup" runat="server" id="StylePopup">
        <asp:Panel ID="Panel10" runat="server" Width="1000px">
            <div style="background-color: #4B6C9E; font-size: x-large; text-align: center;" align="center">
                <asp:Label ID="Label5" Style="color: Red" runat="server">Edit</asp:Label>
            </div>
            <CKEditor:CKEditorControl ID="CKEditor1" runat="server"></CKEditor:CKEditorControl>
            <asp:Button Text="OK" runat="server" class="button" ID="btnOK" OnClick="btnOK_Click" />
            <asp:Button Text="Cancel" runat="server" class="button" ID="btnCancel" OnClick="btnCancel_Click" />
        </asp:Panel>
    </div>
    <div class="modalBackground" id="ModalBackground">
    </div>
</div>
<div id="divHiddenField" style="display: none">
    <asp:HiddenField ID="hdnPart" runat="server" Value="" />
    <asp:HiddenField ID="hdnIDMau" runat="server" Value="" />
    <asp:HiddenField ID="hdnCheckConfirm" runat="server" Value="" />
</div>
